<?php $this->load->view("common/page_header");?>
<div id="body_main">	
	<div class="login_header">
		<img class="logo" src="<?php echo site_url();?>img/logo2.png" />
		<div class="title">发布事项</div>
		<div class="action"><a href="<?php echo site_url();?>">返回首页</a></div>
		<div class="clear"></div>
	</div>
	<div class="login_body" style="background:none">
		<div class="arrow_up">
			<em>◆</em>
			<span>◆</span>
		</div>
		<div class="success_wrap">
			<img src="<?php echo site_url();?>img/success/story_edit_success.png" />
			<div class="action">
				<a href="<?php echo site_url("story/show/" . $story_id);?>" class="font14 grey_button">查看事项</a>
				<a href="<?php echo site_url("story/create");?>" class="bold font14 left margin_top10">&gt;再发一条</a>
				<div class="clear"></div>
			</div>
		</div>
		<form class="success_form" action="/story/top" method="post">
			<div class="form_row bold">
				为了快速有效解决事项，我们建议您选择置顶。
			</div>
			<div class="form_row">
				<input type="radio" name="type" value="list"/>栏目置顶&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="radio" name="type" value="global" />全局置顶（紧急事项请选此）
			</div>
			<div class="form_row">
				选择置顶时长：<input type="radio" name="days" value="1"/>1天&nbsp;&nbsp;
				<input name="days" type="radio" value="2" checked/>2天&nbsp;&nbsp;
				<input name="days" type="radio" value="3" />3天&nbsp;&nbsp;
				<input name="days" type="radio" value="15"/>15天
			</div>
			<div class="form_row notice_tips">
				此次置顶需使用&nbsp;&nbsp;<span class="red" style="font-size:16px" id="need_count">2</span>&nbsp;&nbsp;张行动卡，
				您还有  &nbsp;&nbsp;<span class="red" style="font-size:16px"><?php echo $card_count;?></span>&nbsp;&nbsp;张行动卡。
			</div>
			<div class="form_row">
				<input type="hidden" name="story_id" value="<?php echo $story_id;?>"></input>
				<input type="checkbox" /> 同意<a href="###">置顶规则</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="submit" value="马上购买行动卡完成置顶" class="big_orange_button"/>
			</div>
			<div class="form_row">
				<input type="submit" class="input_button" value="马上置顶" />
			</div>
		</form>
		
		<div class="clear"></div>
	</div>
</div>
<script type="text/javascript">
$(document).ready(function(){
	$("input[name='days']").click(function() {
		$("#need_count").html($(this).val());
	});
});
</script>	
<?php $this->load->view("common/footer");?>		
<?php $this->load->view("common/page_footer");?>